package com.bank.backend.boot.server.service;


import com.bank.backend.boot.base.model.dto.AccountDTO;
import com.bank.backend.boot.base.model.entity.Account;
import com.bank.backend.boot.base.model.vo.AccountVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author JiaoWei
* @description 针对表【account(账户信息)】的数据库操作Service
* @createDate 2025-03-29 21:04:26
*/
public interface AccountService extends IService<Account> {

    Boolean saveAccount(AccountDTO accountDTO);

    AccountVO queryAccountById(Long id);

    List<AccountVO> queryAccountListByUid(Long uid);

    Page<AccountVO> queryAccountPage(int current, int pageSize);

    List<AccountVO> queryAccountList();
}
